Add a few missing gtk_widget_unregister_window calls
authorAlexander Larsson <alexl@redhat.com>
Mon, 18 Feb 2013 08:35:58 +0000 (09:35 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 18 Feb 2013 08:35:58 +0000 (09:35 +0100)
commitc6bbfc8e3d4eab0bb1c3cb2a5d5bd2eef234c3bd
tree6a981f1ff94ed0d47ab95eaedcf14717f98ecd8c
parenta9cf3995a6fc643697cbf7166e70b13b9d4555dd
Add a few missing gtk_widget_unregister_window calls

This was causing warnings on widget unparent like:

Gdk-CRITICAL **: gdk_window_has_native: assertion `GDK_IS_WINDOW (window)' failed

Becasue the window was not properly removed from the lists on unrealize.
gtk/gtktexthandle.c
gtk/gtktreeview.c